package cn.enilu.flash.service.api.express.yw.bean;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author qiang.lin
 * @ClassName YWExpressTrackingResultDTO.java
 * @Description 追踪包裹结果信息
 * @createTime 2021年08月12日 15:51:00
 */
@Data
public class YWExpressTrackingResultDTO {

    private int code;

    private String message;

    private List<TrackingInfo> result;

    @Data
    public static class TrackingInfo {

        private String tracking_number;

        private String tracking_status;

        private Boolean last_mile_tracking_expected;

        private List<CheckPoint> checkpoints;
    }

    @Data
    public static class CheckPoint {

        private Date time_stamp;

        private String time_zone;

        private String tracking_status;

        private String message;

        private String location;

    }


}
